using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Task1
{
    class Task1
    {
        static void Main()
        {
            int a;
            double b;
            string name;

            Console.WriteLine("Type your customer name : ");
            name = Convert.ToString(Console.ReadLine());

            Console.WriteLine("Enter number of products : ");
            a = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("Enter price for product : ");
            b = Convert.ToDouble(Console.ReadLine());

            double c = a * b;
            Console.WriteLine("{0}, you have to pay  {1}", name, c);


        }
    }
}